<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/token.jsp"%>
<%@ include file="/common/operatehistory.jsp"%>
<%
    // 关注标签
	List<String> list = stringToList(input.getDesc("oids"));
	QBuilder.db("basedb").execHQL("update OperateHistory set status=" + STATUS_DISABLE + " where hospital=" + hospital + " and category=" + LABEL_CATEGORY + " and operate=" + ATTENTION + " and uid=" + token.getUid());
	for (String oid:list) {
		OperateHistory oh = OperateHistory.fromMap(parameters, OperateHistory.class);
		oh.setUid(token.getUid()+"");
		oh.setCategory(LABEL_CATEGORY);
		oh.setOperate(ATTENTION);
		oh.setOid(oid);
		operate(oh, false);
	}
    Tools.encryptPrint(out, msg);
%>
